Changed legend location to best option