Change way of getting id to child and activities