Fixed wrong item showing up selected after an item is bought from inventory.