Adding a button to save a png of the graph