Updated interaction between activities and fragments