     
     @objc func navBarLongPress(sender: UILongPressGestureRecognizer? = nil) {
         if sender?.state == UIGestureRecognizerState.began {
-            print("Changing display type...")
             changeDisplayType()
         }
     }

    }
    
    func loadTasks() {
        //Get tasks to be displayed
        if displayType == .NotCompleted {
            tasks = incompletedTasks

        longPress.delegate = self
        navigationController?.navigationBar.addGestureRecognizer(longPress)
        
        loadTasks()
        
    }
