Validation appointment and clear saveAppointment