Change status bar color according to different views.