[Preferences]: fixed a bug