Rewrite accelerometer calibration restore

When use accelerometer calibration value is set to 1, calibration is
done at the same time, which means it is reset at each boot, providing
wrong calibration most of the time at each reboot.
So we only set it to "0" if user wants it, as it defaults to 1 at boot