listen to psi changes only when structure view exists (IDEA-109838)
(cherry picked from commit 0e291ad)