revert preference dialog settings