title: App crashing after adding final modifier to Edit Text
body: <p>I have an edit text i need to hook to textchanged event to to do a task.I had defined the overrdiimg for edittext first but after adding the text extraction code in the text chnaged event the IDE Flagged an error and auto corrected it by adding a <code>final</code> modifier in the line
  like this </p>
  
  <pre><code> final EditText et1=(EditText)findViewById(R.id.editText1); 
  </code></pre>
  
  <p>After chnaging the text the app crahses so i tried to retrive the edittext 2 times first for hooking to the event then for fetching the text,then also the app crashes.
  The IDE had prompted me to add the final modifier in similar cases before but it had crashed the app so i had added the fetchbyID at the point where the object was needed</p>
  
  <pre><code> EditText et1=(EditText)findViewById(R.id.editText1);
          et1.addTextChangedListener(new TextWatcher() {
  
                @Override
                public void onTextChanged(CharSequence s, int start, int before, int count) {
  
                   new Thread(new Runnable() {
                          public void run() {
                          ImageView img=(ImageView)findViewById(R.id.imageView1);
                        EditText et=(EditText)findViewById(R.id.editText1);
                          img.setImageBitmap(thumbnail);
                            Bitmap b = workwithtext(thumbnail,et.getText().toString(),10);
                            img.setImageBitmap(b);
                          }
                        }).start();
                }
  
                @Override
                public void beforeTextChanged(CharSequence s, int start, int count, int after) {
  
                }
  
                @Override
                public void afterTextChanged(Editable s) {
  
                }
              });
  </code></pre>
  
  <p>Please help me solve this issue</p>