Used [[UIApplication sharedApplication] statusBarOrientation] instead of [UIDevice currentDevice].orientation