Replaced UIActionSheet with UIAlertController for iOS 8