Add undo/redo with Core Data.