Addition for UIActionSheet and UIAlertView to support a block instead of a delegate to check which button was tapped