addbtn and delbtn, editObj