Why is that happening? It is kind of annoying.

To explain it in more detail, when you click in the horizontal bar, and no messages are present, it changes to yellow bar and stays that way. When you want to click another bar thinking it will disappear, it changes to yellow and so on until you switch mailboxes or from inbox to sent or draft. Why is that happening?

Thanks