Added inventory_click event