Apply settings