complete onClickdialog in MainActivity