fix Preference invalid format

from dTHSRShuttlerBus project

	modified:   src/dolphin/android/preference/PreferenceUtils.java
add more checks

	modified:   src/dolphin/android/util/PackageUtils.java