Fix: Incorrect MessageBox if it's impossible to get update table

Refactoring