Due to limitations of apps created using mit app inventor and it’s distribution not able to run in background.
You can use one signal.
I just provided alternative to it.
http://community.thunkable.com/t/how-to-keep-clock-sensor-work-in-background/6024/2?u=nick1