setting&cancelbutton