fix(task/details): fix various bugs in the task detail view

related to CAM-2773, CAM-2623, CAM-2833