Update MainWindow.cpp

resolved popup prompt window of Updates again and again