add apply button for the theme and layout setting  function