refactored: MenuFunctions in TabView