Added validation for app.sync