button to save advanced options