Added the empty list box function

issue: #1148