Fixed the contract generator

* Only accepted offers can generated contracts be saved from