Fixed sharing popups
New algorithm to display results