Is there a way to make this better?

I have a game with multiple levels that the player can get 1,2,or 3 stars. And Im trying to save the Star per level.

That game instance is telling me the last level played. Each level has a name. And then saving the amount of star the player got.

Is there a better way to do this, im planing on 1000 levels.

Any help is appreciated thanks you