Save refresh rate on exit.