Refresh inventory without need to reopen it

Custom event, function, anything that can be called can be used here. You just need to “call” it so the update can occur at the moment you want.