Fixed appointment refresh bug and appt length.