public static void SetCustomSpeedLimitsEnabled(bool newValue)
        {
            Options.customSpeedLimitsEnabled = newValue;
            Options.RebuildMenu();

            if (_enableCustomSpeedLimitsToggle != null)
            {
                _enableCustomSpeedLimitsToggle.isChecked = newValue;
            }

            if (!newValue)
            {
                OptionsOverlaysTab.SetSpeedLimitsOverlay(false);
            }
        }
        private static void OnCustomSpeedLimitsEnabledChanged(bool val)
        {
            if (!Options.IsGameLoaded())
            {
                return;
            }

            Options.customSpeedLimitsEnabled = val;
            Options.RebuildMenu();

            if (!val)
            {
                OptionsOverlaysTab.SetSpeedLimitsOverlay(false);
            }
        }