Repair database fixes missing settings, too