Fixes issue for alert view with only one button