Fix Bug where multiply listeners were being registered to sidebar on project switch