Refactored timer. Now works in background.
User can pause and resume timer.