Fixed statusbar refresh on context switching