implement select_note in UI