Add category and modify activity