Made an option list for the generation of labels, prevents error on selecting result.