Change the app registration condition