changed method name getTaskInfo to openTask.