Alert if no activity was configured
Allowing component building in activity construtor