Added graphics tab to tab change listener