Fixed bug (level index is not resetted on completing the game)