changeAppointment to boolean