Changing wifi hotspot via android remote

Hi,
I am using osmc on Raspberry Pi 3.

No keyboard/mouse attached.

Osmc is up and running and connected to a wireless network of home.

To control it I am using android app Kore which connects to osmc via LAN

I want to change the osmc wireless connection to a different hotspot

But osmc asks me to disconnect from existing connection, which I can’t because if I do that will disconnect osmc from LAN and remote will no longer be a able to enter new WIIF information.

Any ideas ?

You’ll probably need a connection via ethernet as well as wireless - but this can be tricky to get working