Save Names of Savegames

Hi,

That is the Problem:
The player has the possibility to enter a name for a savegame (there are 6 Slots in the menu). I would like to save this name. A normal function for a SaveMenu…
My method works, but I wonder if this is a good solution? Is there an easier way? It looks a bit dirty. Thanks for your efforts!