fixed bug where the icon in the taskPanel wouldn't change with the
category.