public void changeOfLevel()  // BUG
 {
     Debug.Log("Change of level");
     currentLevel++;
     SceneManager.LoadScene("Level " + currentLevel);
     pm.resetPosition();
     mp.inverseFeedbackBool();
     //logWritter.flushLevelLogger();
     playerStats.updateLevelEndingStats();
     playerStats.upgradeLevelNumber();
     playerStats.reinitStats();
     timer.restartTimer();
     logWritter.writeDownStats();
     logWritter.flushLevelLogger();
     logWritter.startNewLevelLogger(currentLevel);
     //playerStats.reinitStats();
     //timer.restartTimer();
     //removeAllCoins();
 }