Fix settings key used when synchronize connects to the database.