How state treasurer vacancies are filled