Your "workaround" is actually the best practice (in my view at least) and I use it on every form I make as it is referring to the data source record directly and will refresh automatically. I have seen issues with GalleryName.Selected in the past - it is referring to the chosen item indirectly.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.