changed getActivity() to mActivity in new detail fragment.