Checkbox in menu for info display is set after dockwidget is closed