No claim of invalidity of this chapter arising out of any possible defect in the procedure of adoption or amendment shall be made in any legal proceeding, and no state, regional, county or municipal officer shall refuse, deny or revoke any permit, approval or certificate because of any such claim of invalidity unless within 120 days after adoption of this chapter or amendment legal action is commenced and notice specifying the court, parties, invalidity claimed and date of filing is filed, together with a copy of the petition, with the Town Clerk within seven days after commencement of the actions.