Fixed casting to EditText: warned by IDE.