title: appWidgetIds only contain one id
body: <p>I have appWidgetProvider that updates views of each widget located on homescreen and each widget has a button which triggers updating the view but apparently no matter which button I press on whichever widget only and always the one of them is being updated</p>
  
  <pre><code>@Override
  public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {
      super.onUpdate(context, appWidgetManager, appWidgetIds);
  
      for (int widgetId: appWidgetIds){
          RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.appwidget);
  
          Intent update = new Intent(context, QuotesAppWidgetProvider.class);
          Bundle bundle = new Bundle();
          bundle.putIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS, new int[]{widgetId});
          update.putExtras(bundle);
          update.setAction(AppWidgetManager.ACTION_APPWIDGET_UPDATE);
  
          PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, update, 0);
  
          views.setOnClickPendingIntent(R.id.widget_refresh, pendingIntent);
          appWidgetManager.updateAppWidget(widgetId, views);
      }
  }
  </code></pre>
  
  <p>Let's say I have widget with id=30 and widget with id=31 and I click the refresh button on widget30 and then widget30 is being updated which is desired but when I click on refresh button on widget31 then widget30 is being updated for I don't know what reason.</p>