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. Except in home rule municipalities 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 act or of any ordinance, rule or regulation shall contain a reference to the provisions relied on and the reasons why the conclusion is deemed appropriate in the 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 his report and recommendations available to the parties and the parties shall be entitled to make written representations thereon to the Board prior to final decision or entry of findings, and the Board's decision shall be extended no later than 45 days after the decision of the Hearing Officer where the Board has power to render a decision and the Board or the Hearing Officer, as the case may be, fails to render the same within the period required by this section, the decision shall be deemed to have been rendered in favor of the applicant unless the applicant has agreed, in writing, to an extension of time.