                             databaseRef.updateChildValues(updatedTransportationOnFire)
                         }
                     })
+                    } else { return }
                     
                     
                 case .attraction:
                     
                     let indexPath = NSIndexPath(forRow: index, inSection: 0)
-                    //                    let cell = tableView.cellForRowAtIndexPath(indexPath) as! AttractionTableViewCell
+                    
                     let indexPathRow = indexPath.row
                     
                     guard let selectedAttraction = allArray[indexPathRow] as? Attraction else {

                    
                    let attractionID = selectedAttraction.attractionID
                    
                    if let cell = allArray[indexPathRow] as? AttractionTableViewCell {
                        
                        // Attraction Cell
                        let name = cell.nameLabel.text ?? ""
                        let address = cell.addressLabel.text ?? ""

                case .title:
                    
                    let indexPath = NSIndexPath(forRow: index, inSection: 0)
                    
                    let indexPathRow = indexPath.row
                    
//                    if let cell = allArray[indexPathRow] as? EditTableViewCell {
                    if let cell = tableView.cellForRowAtIndexPath(indexPath) as? EditTableViewCell {
                        // Trip Title Cell
                        let title = cell.titleTextField.text ?? ""
                        let country = cell.countryTextField.text ?? ""
