function stopTimer() {
  resetTimer();
  E.showMessage("Timer stopped!", appTitle());
  setState(states.stop);
}
// timer is stopped by user => state: stop
timer is stopped by user => state: stop
timer is stopped by user = > state : stop
function stopTimer() {
  resetTimer();
  E.showMessage("Timer stopped!", appTitle());
  setState(states.stop);
}
function stopTimer ( ) { resetTimer ( ) ; E . showMessage ( "Timer stopped!" , appTitle ( ) ) ; setState ( states . stop ) ; }
timer is stopped by user => state: stop
timer is stopped by user = > state : stop