Made working repetition scheduler in MainGUI