How do I save an object after changing material in play mode?

Sorry, but again I’m having trouble… the following screenshots is what I got. But I think what is wrong here is that I don’t have integers applied to the material changes, not sure how to do that ;(