         self.taskTextField.resignFirstResponder()
         self.view.addSubview(self.taskTextField)
         self.addTaskButton.removeFromSuperview()
-
-        let numberFormatter = NSNumberFormatter()
-        let numberOfMinutes = numberFormatter.numberFromString(self.editableTimerTextField.stringValue)
-        let secondsTimeInterval = (numberOfMinutes!.doubleValue * 60) as NSTimeInterval
-        self.militarNumberTimer = numberOfMinutes!.integerValue * 100
 
         self.timerUpdateLabel = NSTimer.scheduledTimerWithTimeInterval(1, target: self, selector: "onLabelShouldChange", userInfo: nil, repeats: true)
     }

        self.editableTimerTextField.removeFromSuperview()
        self.taskButton.enabled = true

        let numberInEditableString = NSNumberFormatter().numberFromString(self.editableTimerTextField.stringValue)?.floatValue

        self.timerTextField.stringValue = DateFormatting.getTextFromNumberOfMinutes(self.editableTimerTextField)

        if self.taskTextField.stringValue == "" {

    }

    func onSettingsButtonPressed() {
        // TODO: Show preferences
    }

    override func controlTextDidChange(obj: NSNotification) {
