Preference wrappers for primitive types for Android