CORE-4073: Moved app publish detection out of presenter.