Switch to use UIAlertController.