Some improvements in the appointment change event