The correct answer is "When she wore the glasses." This suggests that Lizzie is only able to see the ghosts on Rain Island when she is wearing a specific pair of glasses. It implies that the glasses have some kind of supernatural ability to allow her to see the ghosts. Without the glasses, she is unable to see them, regardless of whether she has a friend with her, is sleeping, or screams out the word potatoes.