Added some neat function

When the chat tab is not selected, and someone sends a message, then
it's color will change to red. When you select the tab, its color will
go back to black.