20130512  add restore selected session on startup.