The town council at the first regular meeting, after the newly elected councilmembers have taken office following each annual election, shall elect from its memb-ership a mayor protemporefor a term of one year. If no decision is reached at such first regular meeting, the town council shall elect from its membership, within ten days following such meeting, the mayor pro tempore; otherwise, the councilmember who received the highest number of votes when he or she was last elected shall become mayor pro tempore. The mayor pro tempore shall perform the duties of the mayor during the mayor's temporary absence or temporary inability to act. A councilmember performing the duties of mayor due to a councilmember's position as mayor pro tempore retains the councilmember's right to vote on town matters.