fix private checkbox issue when adding a link
Merge pull request #2 from Khady/master

fix private checkbox issue