make it so that instead of just wearing the item in the helmet slot, the player can just right click with the item to activate it, and then right click again with the item to deactivate the barrier. The barrier should remain active so long as the item is in their hotbar. The user should still be able to wear it on their head if they want to, in which case it will be active while it's in their helmet slot
Edit v2: update the item icon to be more like a glowing sphere, instead of a helmet. don't edit the functionality, that's already good