public NotificationButton(ProgressOperationsManager manager)
{
this.manager = manager;
launcher = Add(new Button());
launcher.Shortcut = new KeyboardShortcut(ConsoleKey.N, ConsoleModifiers.Alt);
launcher.Pressed.SubscribeForLifetime(NotificationButton_Activated, LifetimeManager);
launcherFg = launcher.Foreground;
spinner = Add(new Spinner() { IsVisible = false, IsSpinning = false, CanFocus = false, X = 1, Foreground = ConsoleColor.Cyan });
Manager_ProgressOperationsChanged();
manager.ProgressOperationsChanged += Manager_ProgressOperationsChanged;
this.AddedToVisualTree.SubscribeForLifetime(OnAddedToVisualTree, this.LifetimeManager);
}