Custom legend
Wait for legend startup