As I told you in your other topic:
https://community.appinventor.mit.edu/t/storage-data-using-app-inventor/55091/5
If using the Background Tasks extension does not work for you, then you will need to run your app with screen on all the time, or as a foreground service. There are, to my knowledge, no available extensions to allow you to do this.
That said, see here:
Also, please stop necro-posting every topic you can find about running in the background.