private void OnStopWhenFinishedAction (object o, EventArgs args) { ServiceManager.PlaybackController.StopWhenFinished = ((ToggleAction)o).Active; }