Display print change upon button trigger

The pin connections are defined in the LCD constructor.

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

Arduino pin = LCD pin:
pin 12 = RS, 11 = EN, 5 = D4, 4 = D5, 3 = D6, 2 = D7, RW to ground and Vo (contrast) to ground through 1K resistor.