Added category counts to category list items
Removed display of category count when zero
Fixed bugs caused by not re-creating the task page each time