UE5 opens a wrong VS .sln file (from previous project)

Let’s say I have two UE5 C++ projects: project_01 and project_02. When I finished my work in project_01, I closed everything and opened project_02. Through the editor, I clicked Tool>open VS, then UE5 would still open the .sln file of project_01. This can be solved temporally by clicking Tool>Refresh VS Project. But as I closed project_02 and then open project_01 + Tool>open VS, this time UE5 opened .sln file of project_02.

It seems that my editor points to a previously opened .sln file. I tried reinstalling the editor, this problem disappeared temporally. But now it happened again. Although I don’t mind refreshing my VS project every time I open the project, I just feel curious the reason behind this problem.