How do you make a logic statement to switch activity when there is no more lines within a list. The template I’m working with gives me an error that says “Index was outside the bounds of the array” when I try to pull a line that is empty. How can I prevent this?