         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)
     }

    var minutesLabel = NSTextField()
    var delegate: Resignator?
    var timerUpdateLabel = NSTimer()
    var militarNumberTimer = Int()

    override func loadView() {
        self.view = NSView()

    }

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

    override func controlTextDidChange(obj: NSNotification) {
