Rename displayTask() to displayTasks().