Implement code for the click event

This will create a fieldset with textboxes for each extracted category