title: How to let the button in my Android activity do two orders
body: <p>I have one button (<code>buttton1</code>) in the first activity and the second activity has a textview 
  (<code>textView1</code>). This is the code that I wrote:</p>
  
  <pre><code>public void buttton1 (View v){
  
  Intent buttton1 = new Intent (MainActivity.this, Back.class);
  
  startActivity(buttton1);
  
  TextView textView = (TextView)findViewById(R.id.textView1);
  
  textView.setText("Hello");
  
  finish();
  
  }
  </code></pre>
  
  <p>When I run the application and when I click on the button, it force-closes.
  So please help me where is the fault?</p>