Make mPrefs protected instead of private