Fixed bug: when provider is changed clear the selected item