Calls the app registration function