Main window: Run label toggling in a job

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