added ability to select subcategory from categories list