You weren't very clear on exactly what the problem is.
Is the problem that when you press restore you don't see the games that you already saved?
Or is it something else?
If it is, then try replacing line 360 with
[code]
show_restore_game_dialog();
[/code]
and see if that helps...