refactor(WidgetManager): Removed redudant code, cleaned up promises code