Updated to use AndroidPreferences rather than SharedPreferences