private void GetSettings()
        {
            TimeMethods tm = new TimeMethods();

            tm.MatchListpicker(settings.SoftBoiled, timeSoftBoiledMinutes, timeSoftBoiledSeconds);
            tm.MatchListpicker(settings.HardBoiled, timeHardBoiledMinutes, timeHardBoiledSeconds);
            tm.MatchListpicker(settings.Poached, timePoachedMinutes, timePoachedSeconds);
            togVibrationSetting.IsChecked = settings.ToggleSwitchVibration;
            togSoundSetting.IsChecked     = settings.ToggleSwitchSound;
        }
        private void SaveSettings()
        {
            TimeMethods tm = new TimeMethods();

            settings.SoftBoiled            = tm.GetTime(timeSoftBoiledMinutes) + tm.GetTime(timeSoftBoiledSeconds);
            settings.HardBoiled            = tm.GetTime(timeHardBoiledMinutes) + tm.GetTime(timeHardBoiledSeconds);
            settings.Poached               = tm.GetTime(timePoachedMinutes) + tm.GetTime(timePoachedSeconds);
            settings.ToggleSwitchVibration = togVibrationSetting.IsChecked.Value;
            settings.ToggleSwitchSound     = togSoundSetting.IsChecked.Value;
        }