The 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 Board or hearing officer. Where the application is contested or denied, each decision shall be accompanied by findings of fact and conclusions based thereon, together with the reasons therefor. Conclusions based on any provisions of this chapter or of any ordinance, 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 a hearing officer, and there has been no stipulation that his decision or findings are final, the Board shall make its report and recommendations available to the parties within 45 days, the parties shall be entitled to make written representations thereon to the Board prior to the final decision or entry of findings, and the Board's decision shall be entered no later than 30 days after the report of the hearing officer. Except for challenges filed under Section 916.1 of the Pennsylvania Municipalities Planning Code,[1] where the Board fails to render the decision within the period required by this subsection or fails to commence, conduct, or complete the required hearing as provided in § 133-52A of this chapter, the decision shall be deemed to have been rendered in favor of the applicant, unless the applicant has agreed in writing or on the record to an extension of time