Fixed the ContractController@handleEdit and contract completion message