Questions & Answers about Cuando estoy en la biblioteca, prefiero callarme y leer.
Because the sentence talks about a habitual, real situation, not a future/uncertain one.
- Cuando estoy en la biblioteca, prefiero…
= Whenever I’m in the library (as a general habit), I prefer…
This is a repeated, factual situation → present indicative (estoy).
You would use subjunctive (esté) if you were talking about a future, uncertain, or hypothetical situation, often with another verb that looks to the future:
So here, you use estoy because it’s about what you usually do when you are in the library, not what you will do in some specific future case.