impr(task history): load history only when tab is selected

related to CAM-2769