Cleaning up settings, to only load apps as appropriate.