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

    func onCloseButtonPressed() {

        self.editableTextField.focusRingType = NSFocusRingType.None
        self.editableTextField.alignment = NSTextAlignment.RightTextAlignment
        self.editableTextField.sizeToFit()
        self.editableTextField.frame = NSMakeRect((self.view.frame.width - self.editableTextField.frame.width*4.75)/2, (self.view.frame.height - self.editableTextField.frame.height)/2 + 75, self.editableTextField.frame.width * 3, self.editableTextField.frame.height)
        self.view.addSubview(self.editableTextField)

        self.minutesLabel.frame = NSMakeRect(0, 0, 0, 0)
