fix crash on iOS 6 caused by setNeedsStatusBarAppearanceUpdate method