Add category and validate button frontend