grade table changes color based on state of saving