         
         timerRunning
             .asObservable()
-            .map {!$0}
+            .map {
+                !$0
+            }
             .bindTo(timerFace.rx_hidden)
             .addDisposableTo(disposeBag)
         

        
        timerRunning
            .asObservable()
            .filter {
                $0 == false
            }
            .subscribeNext { value in
                self.startStopButton.setTitle("Start Timer", forState: .Normal)
                self.timerDisposable?.dispose()
                self.timerDisposable = nil
                

                $0 == true
            }
            .subscribeNext { value in
                let dateComponents = NSDateComponents.init()
                let calendar = NSCalendar.currentCalendar()
                dateComponents.second = self.timeForNumberOfTots(self.totalNumberOfTots.value)
                self.targetDate = calendar.dateByAddingComponents(dateComponents, toDate: NSDate.init(), options: [])
                
                self.scheduleLocalNotification(self.targetDate!)
                
                let timer = Observable<Int>
                    .timer(0.0, period: 1.0, scheduler: MainScheduler.instance)
                    .subscribeNext({ seconds in
                        self.refreshTotAndTimer()
                    })
                timer.addDisposableTo(self.disposeBag)
                self.timerDisposable = timer
            }
        .addDisposableTo(disposeBag)
    
