do getString in onActivityCreated to avoid crash

getString fails causing crash if the user moves away from the fragment
as it is loading causing fragment to be detached.