Reboot not keeping compass calibration

Every time I reboot I loose all of my calibrations even tough the compass calibration asks me to reboot when I’m done calibrating it. I am using a pixhawk 2.4.8. Any help would be much appreciated.

Can you check if your STAT_BOOTCNT is updated after any reboot?