Backward compatibility for Frodo (API level 8)

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