             }
             .subscribeNext { value in
                 self.startStopButton.setTitle("Stop Timer", forState: .Normal)
+
                 let dateComponents = NSDateComponents.init()
                 let calendar = NSCalendar.currentCalendar()
                 dateComponents.second = self.timeForNumberOfTots(self.totalNumberOfTots.value)

            }
            .subscribeNext { value in
                self.startStopButton.setTitle("Start Timer", forState: .Normal)
                self.timer?.invalidate()
                self.timer = nil
                self.targetDate = nil
                self.cancelLocalNotifications()
                self.totImage.transform = CGAffineTransformIdentity

                self.refreshTotAndTimer()
                
                self.scheduleLocalNotification(self.targetDate!)
                
                self.rx_timer_disposable = Observable<Int>
                    .timer(1.0, period: 1.0, scheduler: MainScheduler.instance)
                    .subscribeNext({ seconds in
                        self.refreshTotAndTimer()
                    })
                self.rx_timer_disposable?.addDisposableTo(self.disposeBag)
                
                
                self.timerFace.hidden = false
                self.totCountStepper.hidden = true
