Removing the onWidgetPress assignment during setWidget.