adds category and sub category selector