Optimise how the share text gets generated