Fixed Add Task on Agent