Adding code for selecting age group to the criteria on click