Item management does works. the problem is that no message is given if shop is left blank.

Made some changes to improve efficiency