Added event after install/uninstall

Fixes #1192