Check that activity exists before calling getActivity when setting new instrument adapter