set current subcategory when selecting category