Fix the public adapter and personal share/delete function.
Merge pull request #8 from Shallong/public-and-share-bug-fix

Fix the public adapter and personal share/delete function.