Nothing in this act shall be construed to prevent the ordinary maintenance or repair of any exterior feature in a historic district which does not involve a change in design, material, color or outer appearance thereof, nor to prevent the construction, reconstruction, alteration, restoration or demolition of any such feature which the building inspector or similar official shall certify is required by the public safety because of an unsafe or dangerous condition.