Fixed bug with alert view