see AppWidgetManager.java useful code for Map entry set handling