             swapOn()
             destinationTextField.placeholder = parkingEntry.name
             endLocation = parkingEntry
+            flagForWhichScreen = 1
             routeFromWhichScreen = 0
         }
             //From Directory

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

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