improve activitiesfragment