Add/delete category functionality.