make sure ScreenScaleFactors are immediately written to disk this is executed only when apply is pressed, so is not a significant performance hit