         returningFromAllStopsBusStop = busStop
         returningFromAllStopsTVC = true
     }
+
+    func showLocationDeniedAlert() {
+        let alertController = UIAlertController(title: "Location Services Disabled",
+                                                message: "Enable Location Services in Settings",
+                                                preferredStyle: .alert)
+
+        let settingsAction = UIAlertAction(title: "Settings", style: .default) { (_) in
+            UIApplication.shared.open(URL(string: UIApplicationOpenSettingsURLString)!, options: [:], completionHandler: nil)
+        }
+        let cancelAction = UIAlertAction(title: "Cancel", style: .cancel, handler: nil)
+        alertController.addAction(settingsAction)
+        alertController.addAction(cancelAction)
+
+        present(alertController, animated: true, completion: nil)
+    }
 }

            allStopsTVC.allStops = SearchTableViewManager.shared.getAllStops()
            allStopsTVC.unwindAllStopsTVCDelegate = self
        case .busStop(let busStop):
            if busStop.name != Constants.Stops.currentLocation
                && busStop.name != Constants.Phrases.firstFavorite {
                SearchTableViewManager.shared.insertPlace(for: Constants.UserDefaults.recentSearch, location: busStop, limit: 8)

    override func viewWillAppear(_ animated: Bool) {
        searchBar?.sizeToFit()
        searchBar?.tintColor = UIColor.primaryTextColor
        //        if searchBar?.canBecomeFirstResponder == true {
        //            searchBar?.becomeFirstResponder()
        //        }
    }

    override func viewDidLoad() {
