Graphics Settings resets

I found that my graphics settings would reset to a low/medium setting if I press X to close the window rather than ‘properly’ quitting with Quit to Desktop