Fix namespace
Fix infinite loop when dashboard widget are not accessible due to
application permission
Case fix
Fixed wrong handling of application components register when updating
  components in add/remove mode.