Backward compatibility for Frodo (API level 8)

Simple fix for support Froyo.

http://developer.android.com/reference/android/content/SharedPreferences.Editor.html#apply%28%29