Fixed iOS 8 UIAtionSheet issue