Added afterActivate method

for easy app-specific customization of such behavior (without typo)