fix bug in uibutton saveing