fix bug compare string(== and equals), onviewcreated=>oncreateview fragment