rewrite PrefsAccountsViewController
finish rewriting preferences dialog