*Fixed deprecated method addPreferencesFromResource(int preferencesResId)