I get a blank screen on first item when I setText for a list

When I want to display a list on a screen using a loop, the first item is blank. What am doing wrong.

Here is my program: App Lab - Code.org

updateScreen is called when “nextDog” is clicked. You never call it for the first dog.

Thank you, that’s it!

Now I get an error at the end of the list. Help.

What is the maximum that number should be?

  if (number < breed.length) {