Update MvPreferences.java

Removed some bugs.