@Override
 public void onNotification(SilverpeasNotification notification, NotificationTopic onTopic) {
   if (onTopic.getName().equals(ADMIN_TOPIC.getTopicName())) {
     SpaceLogicalDeletionNotification deletion = (SpaceLogicalDeletionNotification) notification;
     String spaceId = deletion.getSpaceId();
     SilverpeasServiceProvider.getPersonalizationService().resetDefaultSpace(spaceId);
   }
 }
 private UserPreferences getUserPreferences() {
   return SilverpeasServiceProvider.getPersonalizationService().getUserSettings(getUserId());
 }