Change save session autocmd event to VimLeavePre