Cleans up the app settings a bit so that they load in the right order.