Updating also the default database in the Preferences