Added support for more than 2 buttons by stacking them, similar to the way that UIAlertView does it in IOS7.