Build-a-Bear swings to profit in Q3