minor code - fixes and Next-Appointment-timeslot functionality