Preference dialog is completed.