Organized constructor of AddEditCategory