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

Ok, then one int is good.