fixing display-type buttons on project switch