moved agency service functionality into settings service
fix bug: update labels once settings have been received