The Zoning Hearing Board or the hearing officer, as the case may be, shall render a written decision, or when no decision is called for, make written findings on the application within 45 days after the last hearing before the Zoning Hearing Board or hearing officer. Each decision shall be accompanied by findings and conclusions based thereon, together with the reasons therefor. Conclusions based on any provisions of this Chapter or of any act, rule or regulation shall contain a reference to the provision relied on and the reasons why the conclusion is deemed appropriate in light of the facts found. If the hearing is conducted by the hearing officer and there has been no stipulation that this decision or findings are final, the Zoning Hearing Board shall make his/her report and recommendations available to the parties within 45 days, and the parties shall be entitled to make written representations thereon to the Zoning Hearing Board prior to final decision or entry of findings, and the decision of the Zoning Hearing Board shall be entered no later than 30 days after the report of the hearing officer. Where the Zoning Hearing Board fails to render a decision within the 45-day period required by this paragraph, or fails to hold a hearing within 60 days from the applicant's request, unless the applicant has agreed or shall agree in writing to an extension of time, the decision shall be deemed to have been rendered in favor of the applicant. Where a decision has been rendered in favor of the applicant because of the failure of the Zoning Hearing Board to meet or render a decision as herein above provided, the Zoning Hearing Board shall give public notice of said decision with 10 days from the last day the Zoning Hearing Board could have met to render a decision, as per Act 247, as amended. If the Zoning Hearing Board shall fail to provide such notice, the applicant may do so. Nothing in this subsection shall prejudice the right of any party opposing the application to appeal the decision to a court of competent jurisdiction.