Which of the following contains a vague pronoun reference?
A. When Trent's computer wasn't working properly, he replaced the battery.
B. Trent replaced the battery in his computer when he noticed that it wasn't working properly.
From the given choices, select the correct answer and reply with the letter of the chosen option.

B