         taskTimer.timeRemaining = endPointValueInSec
         if Int(endPointValueInSec) <= 0 {
             stopTimer()
-            circularSlider.endPointValue = 0
+            NSLog("You succeeded!!!")
+            resetTimer()
         }
     }
     

                                     selector: #selector(updateTimerOnCountdown),
                                     userInfo: nil,
                                     repeats: true)
        
        setStartButton(withState: false)
    }
    
    func triggerNotification() {

    var goalFailed = false
    var backgroundTask: UIBackgroundTaskIdentifier = UIBackgroundTaskInvalid
    var timeBeforePause: NSDate?
    var userTargetTime = 0
    
    override func viewDidLoad() {
        super.viewDidLoad()
