bind the text entered in the category name text field to the badge

This will bind the category name entered by the administrator to the preview badge