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 local law of the Village of Webster; but the same may be enjoined, 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 local law 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.