Removed coupling between activity and fragment.