Added buttons for switching lines on and off