Make schedule able to retrieve itself from UI