Make portable settings work in application.