Revert "Making the commands undoable"

This reverts commit 1cc63329666447ecd600859c7f1bf3749654fca7.
Making the commands undoable.