Removes the graph when you click the button again
First step of index clean up