remove spinner from drop down menu if the data returned is empty