added option to hide empty categories to shop and inventory