In the event that the office of mayor or councilmember shall become vacant for any cause whatsoever, the council or those remaining shall order a special election to fill the balance of the unexpired term of such office; provided, however, if such vacancy occurs within 12 months of the expiration of the term of office of the mayor or any councilmember, said vacancy in office shall be filled by appointment by the remaining members of the council.