Added a show alert view method