Bug fix: Preferences are updated on Android