Added weight to tabs -> menu function