Ask a Business Lawyer. Get Business Law Questions Answered ASAP.
If the homeowner cancels the contract, you have a right to sue for breach of contract. You can expect to recover your profit and possibly attorneys fees associated with collecting what you're due under the contract.
My suggestion is to speak with an attorney in your area about pursuing this matter.