Bug 1014254 fix null shareButton breaking various ui bits, r=gijs