On any nonconforming structure or portion of a structure containing a nonconforming use, work may be done in any period of 12 consecutive months on ordinary repairs, or on repair or replacement of non-bearing walls, fixtures, wiring, or plumbing, to an extent not exceeding 50 percent of the current replacement cost of the nonconforming structure or nonconforming portion of the structure as the case may be, provided that the cubic content existing when it became nonconforming shall not be increased. If a nonconforming structure or portion of a structure containing a nonconforming use becomes physically unsafe or unlawful due to lack of repairs and maintenance, and is declared by any duly authorized official to be unsafe or unlawful by reason of physical condition, it shall not thereafter be restored, repaired or rebuilt except in conformity with the regulations of the district in which it is located. Nothing in this chapter shall be deemed to prevent the strengthening or restoring to a safe condition of any building or part thereof declared to be unsafe by any official charged with protecting the public safety, upon order of such official. Any use which is permitted as a conditional use in a district under the terms of this chapter (other than a change through commission action from a nonconforming use to another use not generally permitted in the district) shall not be deemed a nonconforming use in such district, but shall without further action be considered a conforming use.