Add undo/redo commands for restoring default values.