Remote access - phone application

Hello very much.
I sometimes use the Home Assistant application on an Android phone outside the home and use the Zero Tire One VPN tunnel to connect, but the constant switching in the application that I use VPN causes problems.
Could it be possible to make the program automatically find an active connection and start working without manual switching?

You might be able to use something like Tasker to switch on the VPN when the HA app is opened.

It’s not about the VPN connection, because it’s fast, but it’s about the Home Assistant application, where I have to wait until the option to enter the settings appears and there I have to select my VPN connection in the servers and devices section. Then when I come back home, I can go there again and change it to home Wi-Fi

If you have a VPN set up and don’t mind starting it manually first on your phone then you should just leave the HA app settings connected to the local network.