Add popup resume state

- Popup resume state when timer is running in background
- Refactor set and unset states
- Input box focus on popup display
- Input box starts timer upon pressing enter key