         if numberMinutes?.integerValue > 60 {
             self.editableTextField.stringValue = "59:59"
         } else if numberMinutes?.integerValue < 1 {
-            let numberSeconds = Int(numberMinutes!.integerValue * 60)
+            let numberSeconds = Int(numberMinutes!.floatValue * 60)
 
             if numberSeconds < 10 {
                 self.editableTextField.stringValue = "00:0\(numberSeconds)"

        self.view.addSubview(self.authorLabel)

        self.initialFrameMinutes = self.editableTextField.frame

        self.breakTimer = NSTimer.scheduledTimerWithTimeInterval(1, target: self, selector: "onLabelShouldChange", userInfo: nil, repeats: true)
    }

    // MARK: Timer methods

    func onLabelShouldChange() {
        let dateFormatter = NSDateFormatter()
        dateFormatter.dateFormat = "mm:ss"
    }

    // MARK: Action handlers


        self.editableTextField.sizeToFit()
        self.editableTextField.frame = NSMakeRect((self.view.frame.width - self.editableTextField.frame.width)/2, self.initialFrameMinutes.origin.y, self.editableTextField.frame.width, self.editableTextField.frame.height)

        self.breakTimer = NSTimer.scheduledTimerWithTimeInterval(1, target: self, selector: "onLabelShouldChange", userInfo: nil, repeats: true)
    }

    func onCloseButtonPressed() {
