https://androidchurchblog.blogspot.com/2024/02/android-illegalstateexception-could-not.html