Fix break_elapsed value when in the idle state
Merge pull request #29 from mickboldon/refactor

Fix break_elapsed value when in the idle state