Add "closeAllTab" function and close all tabs before new project is setted.