Checkbox group ui done. Find bugs in train type.