             if newScore < 0 {
                 newScore = 0
             }
-            setCurrentScore(newScore: newScore)
-            refreshScore()
+            if !(newScore == 0 && currentScore == 0) {
+                setCurrentScore(newScore: newScore)
+                refreshScore()
+            }
         }
     }
     

    
    @IBAction func buttonPress(_ sender: UIButton) {
        //2. Play the current subphrase with the tone of the pressed button.
        
        var sendingButton: UIButton?
        

        
        //audio
        audioEngine = AVAudioEngine()
        audioPlayer = AVAudioPlayer()
        //setup node
        audioPlayerNode = AVAudioPlayerNode()
        audioEngine.attach(audioPlayerNode)
