Does this work if you end the application after changing the time and run it again?
If yes, then the problem is with the application running in the background. I mean, whenever your application runs in the background, it actually loses some active objects from memory.
Therefore, instead of changing the time, try to do something else while your application is in the background, I think it will also give the same results.
source share