In my android app (written in kotlin) I would like to do some data saving when my activity is destroyed. But I have a problem. I\'ve done researching and found out that onDe