Bug fixes

Fixed a bug with group detection
Fixed a bug when the enchantersList was empty
Closing the menu after an item is assigned