The adoption of this chapter shall not affect or impair any permit granted, 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 Ordinance of the Town of DeWitt, but the same may be enjoyed, ascertained, enforced, prosecuted or inflicted 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 ordinance 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.