Refactored NTP offset storage