You need to get the string of the items and then compare with the one you would like to add new and see if it matches.