Adding parent to activity