edit some code of def find_note in class MainApp