Added option to show categories in the popup