Add share and legend controls