Moved unmarkPrograms() from TimerManager to ProgramManager
Refactoring: Exrtacted some methods to improve readability of the code