UI Automation automatically Open Window

Hi, I have a question, I am doing UI automation using UIpath for another application (X application). So I have my X application and UI Path studio windows open. when I click start at studio, then UI Path window minimized automatically and automatically open the minimize window on my X application and start automation.

My question is, I didn’t set anything to open my X application minimize window. How can UIPath open it by itself?

Because of attach window/sequence which holds the selector attribute of the X application.

let say I have an application which need to select a datasource first.
I have 2 datasource, datasource A and B.
If I create all the workflow using datasource A in my application. Does my workflow can work too for datasource B?
the application is same, the only difference is the datasource

As long as other attribute remains same.