Adds and styles legend