private async void ButtonPin_Click(object sender, RoutedEventArgs e) { ButtonPin.IsEnabled = false; await TilesHelper.UpdateTiles(TextBoxPayload.Text); ButtonPin.IsEnabled = true; }