MBP2014 13"+Gigabyte Gaming Box RX580. Issues with apps

Hey! I'm using this eGPU with MBP and have some issues with Android Studio. If i starting Studio with eGPU connected, i have freezes in file editor when trying to CTRL+Space, for example. If i'll disconnect eGPU and start Studio with iGPU, and after will connect eGPU, all working OK (Studio using iGPU in this case)

So, here is the questions:

Is it possible to fix this freezes?

Any way to force start problem apps with iGPU while eGPU connected (macOS)?

@ivanosh Developer needs to resolve the issue. On High Sierra it was possible to not prefer eGPU but I don't think it can be done on Mojave. Alternative to try could be to launch app on iGPU-accelerated display (such as internal display).