Add category field to task model and render task