Is the problem in the code or in the OLED screen?

if fadeValue2 is 36, then this happens (it's later in the code):

 if (fadeValue2 == 36) {
    displayPrint(18, 22, WHITE, 2);
    display.println("SHOW Output");
  }

And this, if the switch is pressed:

 while ((digitalRead(Key) == 1) && (fadeValue2 == 36)) {
    calculateOutput(); 
    displayOutput();
  }