adjust_legend_title function

Adjust legend