use background,check this : ItoO - Background Tasks [special] 🥳 or this Open Source • Background Tasks: Itoo 🚀 - Extensions - MIT App Inventor Community