Hi, everyone.
I need solution to a situation I've put myself in.
I have a search bar (1) which filters a gallery (2) and a button (3) to update my database.

The OnSelect property of the button (3) is to Patch a column of my database with SearchBar.Text
The Items property of my Gallery is: Filter(Database;StartsWith(DatabaseColumn;SearchBar.Text))
As you can see on the image and as mentioned above, my gallery is filtered by the first letters from my SearchBar.Text.
If I press the button (3) it will update my database with the incorrect text as I'm only typing the start of the string to filter my gallery. My objective is when I select an item from the gallery (2) it updates the SearchBar.Text with the label text inside the item for the user to press the button and patch the database (This is a way to ensure the user is typing the correct string for the update).

I can't seem to achieve this kind of interaction while still allwing the Seachbar(1) to filter the gallery.
Does anybody have a hint on what I need to do?