Update MvPreferences.java

Added ability to be called from a service.