[DF-1159] Fixed undo/redo command