Improve how pinned providers are handled

is this change ok? does the widget class-name changed?