Correcting bug

correcting bug that resets the graph settings to default each time the
user opens a file.