Correction in mainwindow activity correction