Added restartEvents after delete profile.