Made minor changes to RepetitionScheduler