[DF-2382] fix recent files menu in mainwindow