updated the buy function so that it isnt removing the items since the event handler now handles it