Timer to control work and break