     measurementsButton.layer.cornerRadius = 10
     resultsLabel.text = "\(results)"
     updateRadiusAndUnitsLabels()
-    
     UIView.animate(withDuration: 0.5, animations: {
       self.settings.alpha = 1
       self.backgroundButton.alpha = 1

      self.settings.alpha = 0
      self.backgroundButton.alpha = 0
    })
    UserDefaults.standard.setRadius(value: self.radius)
    UserDefaults.standard.setNoOfResults(value: self.results)
  }
  
  @IBAction func radiusSliderMoved(_ sender: UISlider) {

    updateRadiusAndUnitsLabels()
  }
  
  func saveRadiusAndResults() {
    UserDefaults.standard.setRadius(value: radius)
    UserDefaults.standard.setNoOfResults(value: results)
  }
  
  // MARK: Segue Functionality
  
  override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
    if segue.identifier == "toMap" {
      print(radius)
      print(results)
      saveRadiusAndResults()
      let controller = segue.destination as! MapVC
      controller.makeNetworkCall = makeNetworkCall
      controller.searchRadius = Int(radius)
