update DBPrefsWindowController to the version by kgn