Interaction help: Hover and click animations conflicting

Hi guys,

I’m working on fairly simple interactions where the bg color and text color would change when item is hovered on, and stay that color when clicked. Then change back to original color when hovered out or closed/clicked the second time.
It works the first time but it won’t go back to the orig color on the second hover after being clicked on.
Plus, the text color won’t change when item is clicked.

I’m stumped and quite desperate, so if somebody can help me figure it out, i’d be mighty grateful.

Link is:

I’ve only done the first block for now.