Fixed a bug that the setInPageTabTag() and the setPageHeadingTabTag() methods did not work.