Add Preferences menuitem

With Database preferences page