Made the cancelbuttons in the appointmentpanels work properly :)