Added alert to check functionality of beginCamera