I think the most troubling part of it is essentially becoming a full-time employee of the business running the competition. It wouldn't be so bad if they just took the app, handed over the money and parted ways but now they're responsible for maintenance with no extra compensation. Seems quite dangerous to me.
And as I commented elsewhere, you're also agreeing to complete the app according to unspecified, additional requirements. It's not just maintenance; you're agreeing to do unlimited dev work up front for no additional pay, too.