Fixed bug where A Alert View would crash the application