Refactored LoopAppWidgetProvider