arePreferenceItemsTheSame
Called to determine if two Preference objects represent the same item
Return
true if the objects represent the same item
Parameters
p1
Preference object to compare
p2
Preference object to compare