Already figured it out for above problem.

But is there any way to make the text color become white when in hot state? tried using textcolor=white, textshadowtype=single, textshadowcolor=black, textshadowoffset=0, 1 but didnt make any changes. text color seems to be overriden by window text=black