Main window: Fix label toggling

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