refactor accpac set_task_status