Automatic change equipped items with joystick when u close the inventory

when u are using joystick, if u open the inventory and position the pointer over an item and press B to close the inventory, the item will automatic change with the equipped item and leaving the equipped item in the inventory (taking the risk that, if u dont aware of that, u can sell it or burn it)