     var screenEdgeRecognizerLeft: UIScreenEdgePanGestureRecognizer!
     var screenEdgeRecognizerRight: UIScreenEdgePanGestureRecognizer!
     var flag = 0
+    var flagForWhichScreen = 0
     
     //Referencing Outlets
     @IBOutlet var segmentedControl: UISegmentedControl!

    
    func swapOff()
    {
        currentTextField.placeholder = "Off Campus"
        currentTextField.enabled = false
        startLocation = Directory(name: "Off Campus", category: "NA", floor: "NA", hours: "NA", ext: 0, notes: "")

            swapOn()
            destinationTextField.placeholder = parkingHistEntry.name
            endLocation = parkingHistEntry
            flagForWhichScreen = 1
            routeFromWhichScreen = 0
        }
    }
