add restore functionality, but failed..
fix unable to restore bug
Merge pull request #25 from PerryPan/master

加入restore removed deadline功能