Added undo/redo for cell editor