private async void butClear_Click(object sender, RoutedEventArgs e) { await LoggingService.Clear(); RefreshMessagesFromStore(); }