Clear undo stack after loading settings.