     }
     
     func willSaveAlert() {
-        var message = "Are you sure you want to save changes to this restaurant?"
+        let message = "Are you sure you want to save changes to this restaurant?"
         let alertController = UIAlertController(title: nil, message: message, preferredStyle: .alert)
         let saveAction = UIAlertAction(title: "Save", style: .default) { action in
             self.saveChanges()

        }
        
    }
    
    @objc func inputToolbarDonePressed() {
        resignFirstResponder()

    
    // If data in text fields isn't valid, give an alert
    func invalidDataAlert(message: String) {
        let title = "Invalid Input"
        let alertController = UIAlertController(title: title, message: message, preferredStyle: .alert)
        let okAction = UIAlertAction(title: "Ok", style: .cancel, handler: nil)
        alertController.addAction(okAction)
