Repaint when new tab added