Add complete functionality to set a note as completed.