added return true/false to deleteFavorite
added check for favorites being set
removed console log and check for a result before looping through items