added legend on Global reactive plot