The adoption of this chapter shall not affect or impair any permit granted, any act done, offense committed or right accrued or acquired or liability, penalty, forfeiture or punishment incurred prior to the time this chapter takes effect, under any prior zoning chapter of the Town of Ontario; but the same may be enjoyed, ascertained, enforced or prosecuted as fully and to the same extent as if this chapter had not been adopted; and all actions and proceedings commenced under or by virtue of such prior chapter and pending at the time this chapter takes effect may be prosecuted and defended to final effect in the same manner as they might have been if this chapter had not been adopted.