Updated code in the level switch

Updated it to work with the score system.
Merge pull request #15 from Bairdog35/patch-3

Updated code in the level switch