Added support for break period. Stopped timer from running at the end.