         dataTableEntries.removeAtIndex(indexOfItemToRemove)
         
         /* Update the table view */
+        
         
         dataTableView.beginUpdates()
         let indexPathOfItemToDelete = NSIndexPath(forRow: indexOfItemToRemove, inSection: 0)
         dataTableView.deleteRowsAtIndexPaths([indexPathOfItemToDelete], withRowAnimation: .Automatic)
-        dataTableView.endUpdates()        
+        dataTableView.endUpdates()
     }
     
     func cellDidBeginEditing(editingCell: DataTableViewCell) {

        
        self.dismissViewControllerAnimated(true, completion: nil)
    }

}

// MARK: - Delegates for the table view

    func cellDidEndEditing(editingCell: DataTableViewCell) {
        
        // TODO: Implement this method
        let cellsToMove = dataTableView.visibleCells as! [DataTableViewCell]
        
        for item in cellsToMove {
            /* Return cells to their pre-editing position and restore opaque color */
            UIView.animateWithDuration(0.3, animations: {() in
                item.transform = CGAffineTransformIdentity
                if item !== editingCell {
                    item.alpha = 1.0
                }
            })
        }
    }    
    
}

