Refactored event handler for adding item. Can now check to make sure there are no redundant items