Fix bug when you click refresh button with empty text and one selected in list