App crashing with Report

I am hitting this app crashing report.

Anybody help me to find reason of this app crashing bug.

Report is here…

android.view.WindowManager$BadTokenException: Unable to add window – token [email protected] is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:589)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:310)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:86)
at android.app.Dialog.show(Dialog.java:319)
at com.google.appinventor.components.runtime.util.KodularContentProtection.showWarningDialog(SourceFile:158)
at com.google.appinventor.components.runtime.util.KodularContentProtection.setInterfaceHelper(SourceFile:123)
at com.google.appinventor.components.runtime.util.KodularContentProtection.access$400(SourceFile:38)
at com.google.appinventor.components.runtime.util.KodularContentProtection$a.onPostExecute(SourceFile:1114)
at android.os.AsyncTask.finish(AsyncTask.java:651)
at android.os.AsyncTask.access$500(AsyncTask.java:180)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:668)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5603)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:774)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:652)

On which screen this is coming?

I want to provide some more details for understanding my problem :-

  1. App crashing after 6th or 7th screen opened.
    My block is like that when 2nd screen opens 1st screen closes. Image attached for this.

  2. Currently App showing “Ads not showing plese contact to kodular to Approve Ads”

  3. I am using dynamic data from Airtable Sheets in every screen.

  4. App crash after data showing and App reopens automatically.

Make Open screen block in the loop and make close screen block in outside