Added another function for setting list box data

Also added a safetynet for invalid setup

issue: A24Group/Triage#1148