implemented applySettings method