Close inventory after executing an icon