Merge pull request #17 from fusijie/master

Fixed some bugs , add medal check and show new medal tip.
Fixed some bug. And add some comments.