Added checkbox to restrict number of graphs produced in Shiny example