Fix some bugs in README and notification sample