added support for a button to turn on and off the display