private async void VolumeSlider_Loaded(object sender, RoutedEventArgs e)
 {
     int volume = await Applikation.GetVolume();
     SetVolumeSliderValue(volume);
     slider = sender as Slider;
     slider.AddHandler(UIElement.PointerReleasedEvent, new PointerEventHandler(slider_PointerReleased), true);
 }
 private void ProgressSlider_Loaded(object sender, RoutedEventArgs e)
 {
     slider = sender as Slider;
     slider.AddHandler(UIElement.PointerReleasedEvent, new PointerEventHandler(slider_PointerReleased), true);
 }