fixed issue with the magnetometer calibration ui.