https://useandroidblog.blogspot.com/2024/05/run-code-only-once-after-fresh.html