Apply settings.