Changing WarningDialog to QMessageBox
Adding local prefix updating