bugfix: saving of polynomial order for massoffset and resolution in calibration window