Added saving open repo at close and loading them at start