Rearrange app order to fix issue with registration of app.