refactoring activate method, Notification ManagementComponent.java