Update preference dialog