public void OnNavigatedFrom()
 {
     _mediaSettings.ReleaseDevices();
 }