Any violation of the Zoning Code of the Town of Orangetown existing at the time of the adoption of this Zoning Code, and any prosecution pending or civil action pending against an alleged violator, shall not be abated by the adoption of this code but shall continue as if the code had not been adopted. Any pending permit shall be processed by the Building Department as if this code had not been adopted except as follows: Any person, firm or corporation who shall have an application for a permit pending but which permit has not been issued because the Board of Architectural Review has not yet processed the application shall be entitled to have such permit issued as if this code had not been adopted; this shall not apply, however, if the Zoning Board of Appeals or Planning Board, if required, has not processed a pending application or rendered final approval of a subdivision or a decision granting a variance.