maybe we can just rename this to initPrefsEditor or something like that.