implemeneted level switching whenever user scores