public void RemoveNotification(Notification notification) { if (Notifications.Contains(notification)) { Notifications.Remove(notification); } if (_buffer.Count > 0) { Notifications.Add(_buffer[0]); _buffer.RemoveAt(0); } //Close window if there's nothing to show if (Notifications.Count < 1) { Hide(); } }