Thank you.
I found a different solution. I redefined in the new scene as this:
local function changeTabBar() -- Unselect TabButton tabBar:removeSelf() local tabButtons = { { label="Home", labelColor = { default={ 0.5, 0.5, 0.5 }, over={ 0, 0.5, 0 } }, defaultFile="icons/home.png", overFile="icons/home.png", width = 32, height = 32, onPress=onHomeView }, { label="Preferiti", labelColor = { default={ 0.5, 0.5, 0.5 }, over={ 0, 0.5, 0 } }, defaultFile="icons/preferred.png", overFile="icons/preferred.png", width = 32, height = 32, onPress=onPreferredView }, { label="Profilo", labelColor = { default={ 0.5, 0.5, 0.5 }, over={ 0, 0.5, 0 } }, defaultFile="icons/profile.png", overFile="icons/profile.png", width = 32, height = 32, onPress=onProfileView }, } tabBar = widget.newTabBar{ top = display.contentHeight - 50, -- 50 is default height for tabBar widget height = 70, -- adjusting selected tab graphics buttons = tabButtons } end