public void AddScheduleTypes()
 {
     serverAPI.GetAllScheduleTypes(HandleAddedSchedules);
 }