[fix] NPE when sharing text