Added alerView parameter to handler.