implemented undo/redo for delete notebook cells