Main window: fix refresh_label_list()

Signed-off-by: Jerome Flesch <jflesch@gmail.com>