UI updates plus set appointment time function