Compatible with helm-resume
Fix bug when do helm-resume in other buffer