Convert local variable editText to field and move it to onCreate method.