If you change apps, the timer starts again, 1 hour from when you last changed app.
You could just change the timeout in the code to something shorter, or perhaps the easiest thing is to try and do it 'on the hour'. So right now the timeout is 60*60*1000, but you could make it (60-(new Date()).getMinutes())*60*1000
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
If you change apps, the timer starts again, 1 hour from when you last changed app.
You could just change the timeout in the code to something shorter, or perhaps the easiest thing is to try and do it 'on the hour'. So right now the timeout is
60*60*1000
, but you could make it(60-(new Date()).getMinutes())*60*1000