deactivatating the automatic opening of the last session

thank you!