[Kotlin] I want to process multiple events with one button

I want to convert image and text at the same time with an setOnclickListener, but I don’t know how to do it.
When I set image and text in one button setOnclickListener, the app is turned off.

And I want to keep changing to a different text every time the button is pressed, is this possible?
Or do I have no choice but to switch to a new activity every time the button is pressed?

Is it possible to change the background image with a button?

I’m still a beginner so please give me a detailed answer