Add the selected category for template