Add reference to parent app in sub app