prettify preferences dialog