Having a dream about my ex.

Christy • Diagnosed with PCOS 8/4/2016
So I had a dream about my ex (he was a total douche bag) and about my current boyfriend(whom I love with all my heart). Well pretty much in the dream I broke up with my boyfriend and got back together with my ex. My bf was obviously unhappy but i treated him terrible in the dream and claimed I was happier with my ex that I ever was with him. 
What could this all mean?
Idk why I woke up happy..
I am so confused
Also for added facts I haven't spoken to my ex in almost 4 years and I've been with the same boyfriend for 4 years.