This chapter shall be subject to a permissive referendum and shall take effect 45 days after adoption by the Town Board, unless a petition shall be filed with the Town Clerk, in a manner prescribed in §
23 or
24 of the Municipal Home Rule Law, as the case may be, to protest against this chapter prior to the expiration of the forty-five-day period, and, in the event that such position in due form is filed, this chapter shall not be effective until approved by the voters at a general or a special election.