Take a page from dog training manuals - ignore the bad behaviors, reward the good ones.

Go about your day AS IF you were happy and content ( even if you aren’t ). Be proactive, don’t be reactive to his moods.