Added search funtionality for notes.