changed buildSpannableForText to public