       else
         $scope.mode = manual
 
-    onSubmit: () =>
+    onSubmitClick: () =>
       return if preCheck() isnt CHECK.OK
       if State.isPomodoring
         State.isPomodoring = false

   Start or End Time tracking
  ###
  $scope.clickSubmitButton = () ->
    $scope.mode.onSubmit()

  ###
   on timer stopped, send time entry.

      else
        $scope.mode = pomodoro

    onSubmitClick: () =>
      return if preCheck() isnt CHECK.OK
      if State.isAutoTracking
        State.isAutoTracking = false
