fixed bug: not selecting graphtab when active