preference dialog complete