add the search function of the note list