Dodano getSelectedCategoryId