fix the double click cause fc.

fix the nullptr when not set onTabListener,double click will cause fc.