When the inning is changed, Top/Bottom must be set again because setting a number resets the output bits on both ports.