add restore selected session on startup.