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

I havent learned about save game yet, thanks so much for the solution, and its just what I needed!