https://androidchurchblog.blogspot.com/2024/06/how-to-update-ui-from-background-task.html
How To Update Ui From Background Task