Save changes on setting dialog. =)