Select and take photo buttons working