Added db prefs dialog box