When any county votes by an election to discontinue permitting the sale of intoxicating liquors, wines, or beer, prior to the date of expiration of any license issued by the state for the sale of intoxicating liquors, wines, or beer in such county, the fee for the unexpired and unused portion of said license shall be refunded to the licensee by warrant drawn by the Chief Financial Officer, who shall pay such warrants from any moneys in the State Treasury not otherwise appropriated.