A user reported selecttab() did not work on some apps, fix this problem.