Prettify team picker code