Uses PreferenceScreen instead of PreferenceFragment in utility methods.
Attempts to fix exception in ContactListAdapter.getChildrenCount