Retry Button NOT Working

I added a Retry button to my game, and it doesn't work. All it does is mess it up. Sometimes it brings you to the wrong level, or it brings you to the right level, but then that level doesn't play right. All I want is for the Retry button to bring the player to the previous Failed level, so the player can try it again.
Comments
Attribute - game.starCount = 12
Change scene = Next scene
Change Attribute - game.level to game.level+1
Actor # 2
Actor receives event - Mouse Button is Down
Attribute - game.level = 1
go to scene = Level 1 ( continues for other levels )