Most devices have a clear command - docs on your device should tell.
Alternatively you can print a row of spaces over last message and print new.
reading a switch is easy: digitalRead(mySwitch);
Put that in an IF statement and then print or clear as appropriate.
Use pinMode(mySwitch, INPUT_PULLUP); to initialize.
Wire switch between the input pin and NO to gnd. It will read as LOW when active in code.