You probably just need to modify the parent Window element. When you have a UI element, it will usually be captured under a parent Window element that will have its own selector. If your application window title can have some dynamic values in there, based on the machine/user, you might want to remove the name parameter from the window selector.
See this image for reference on how to find it:

-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.