If the lien is for labor done or materials furnished for a public improvement, it shall not continue for a longer period than one year from the time of filing the notice of such lien, unless an action is commenced to foreclose such lien within that time, and a notice of the pendency of such action is filed with the comptroller of the state or the financial officer of the public corporation with whom the notice of such lien was filed; or unless an extension to such lien is filed with the comptroller of the state or the financial officer of the public corporation with whom the notice of such lien was filed within one year from the filing of the original notice of lien.
No lien shall be continued by such extension for more than one year from the filing thereof.
In the event an action is not commenced to foreclose the lien within such extended period, such lien shall be extinguished unless an order be granted by a court of record or a judge or justice thereof, continuing such lien, and a new docket be made stating such fact.