In the event that a vacancy occurs in one or more elected offices of the city for any cause whatsoever, the remaining elected officials shall constitute a quorum for the purpose of implementing the terms of this section, and those remaining elected officials shall appoint a qualified person to fill such vacancy or vacancies for the remainder of the unexpired term or terms. No person appointed to fill such a vacancy shall be eligible to run in the next succeeding election for the post held by such appointed person. If a tie vote occurs in regard to filling such vacancy or vacancies, the mayor, or in the event the mayor recuses himself or herself or is otherwise incapable of making the selection, or if the position of mayor is vacant, the mayor pro tempore shall appoint a qualified person to fill the vacancy or vacancies. At no time shall there be more than three members so appointed holding office and, if a vacancy occurs within the three members so appointed on the city council, a special election shall be held by the city at the next available time in compliance with applicable laws, at which election a qualified person shall be elected to serve the remainder of the unexpired term of such vacant office, provided that no such election shall be held if a regular annual election will occur within six months of the date of vacancy.