onNavTab bug fixed

fixed onNavTab bug but view doesn't open yet