Update README.md

Add details and examples about the preCloseCallback option.