AppWidget Layout update not working correct after reboot
===

I got much problems with my appwidget, I can´t figure out how to update the widget layout after reboot. This widget consists of four buttons, if one button is pressed, it changes the layout to gray. If I install my widget on the device, everything is working fine. Even if I disable and afterwards enable the widget, it works great. But if I reboot my device, for a few seconds, the pressed button is shown correctly. Then, after a further few seconds, I see that my homescreen seems to update a second time, then the appwidget buttons are all with default background.
I tried to put a method inside onUpdate() and even in onReceive() and onEnabled(), all works great until the device reboots.After rebooting, I get this problem described at the top. I even tried to fix this problem with a BootReceiver....without success. What is going wrong here, could anybody help me? .
 
I searched two days after an answer in this forum and even googled it, and googled it, and googled it....., but all possible answers don´t work. Here is the relevant piece of code for one button(all remoteviews updated in the same way), that works fine until reboot(Thanks, sorry if I post the code wrong, it´s the first time I ask a question here):

    AppWidgetManager appWidgetManager = AppWidgetManager
					.getInstance(context);

			RemoteViews remoteViews = new RemoteViews(context.getPackageName(),
					R.layout.my_widget_layout);
			
			remoteViews.setInt(R.id.my_button, "setBackgroundResource",
					R.drawable.my_button_disabled);
			appWidgetManager.updateAppWidget(getWidgetId(context), remoteViews);

