If any owner of any building or structure fails, neglects, or refuses to comply with notice by or on behalf of any city or village to repair, rehabilitate, or demolish and remove a building or structure which is an unsafe building or structure and a public nuisance, the city or village may proceed with the work specified in the notice to the property owner. A statement of the cost of such work shall be transmitted to the governing body. The governing body may:
(1) Levy the cost as a special assessment against the lot or real estate upon which the building or structure is located. Such special assessment shall be a lien on the real estate and shall be collected in the manner provided for special assessments; or
(2) Collect the cost from the owner of the building or structure and enforce the collection by civil action in any court of competent jurisdiction.