Moved pushbutton hardware initialisation from constructor to begin method.