fixed pref sync in android 3.0+