[GUI] Undo/Redo for settings.