addNoteToTask

Function editted and tested