fix EditText content null error,to be tested