Dota with InternetConnection

Hi, I’m trying to integrate the example of DOTA with the InternetConnection. The problem is that to put the ApnParams the application restarts, I guess because this will be connected to APN.
How could solve this problem?
Thank you.

What do you mean by that?

Do you mean that your application has a bug that causes it to restart when you enter your APN parameters?

Fix the bug!