How do I disable/remove the automatic Webview that pops up. It makes my program fail

Did you close the web view pane? And try hard refresh: CTRL+F5

I closed it multiple times. Any ideas about hard refreshing the mobile app beside closing/opening it?

Restarting your device. Also, the mobile app is a whole different story, and is known to be more buggy. You might want to make a #bug-reports with replit-mobile-app tag