protected override void OnDeactivate(bool close)
 {
     popularLivestreamWatcher.StopWatching();
     taskbarIcon?.Dispose(); // this will be cleaned up on app close anyway but this is a bit cleaner
     base.OnDeactivate(close);
 }