In the absence of an election or appointment of officers by the board or the members with voting rights, the person exercising the principal functions of the president or the treasurer is considered to have been elected to the office.