Rewrite accelerometer calibration restoring