question: public void onButtonNoClicked ( View view ) { startActivity ( new Intent ( getApplicationContext ( ) , MainActivity . class ) ) ; setResult ( RESULT_CANCELED ) ; finish ( ) ; }
target:  This method is called the no button in the activity is clicked. It calls the main activity.