fix typo for displayTask method

renamed displayTaks() to displayTask()