Updating appearance and behavior of the legend.