Updating simple GUI app

I have an app I’m making where you can lookup the chords and slash chords that have the selected note as the melody note. They are hardcoded, and not calculated. What is the best way to display and update the output set of chords that have the melody note in the top for a given selection? In other words, updated text, updated images, etc.?

How should I go about doing this.