Slight aesthetic tweak to Legend

Added functionality to select everything in level boxes when they get
focus.