A hirer, at any time, has a right to terminate the agreement by giving notice in writing to the owner or to his agent. Is the hirer liable to pay all the installments due by the time of the termination of the agreement? What happens if the owner initially included a provision at the time the agreement was made?