Maintain search filter state after a refresh event.

When a refresh event is triggered the selectpicker loses filtered
viewstate even though the searchbox is still populated. Adding the event
trigger makes the selectpicker keep the user's filter.