Added buttons to graph