Store the repayment schedule from the last calculation in local storage. Should be cleared any time one of the inputs changes.