finish scheduleViewController