added onclick event to status bar and change color when hover