Fix timer bugs

 - pause timer when app is backgrounded
 - persist timer value and pause/start state on re-create
 - don't toggle timer pause/start when ended
 - disable timer long-click paste showing