Upgraded framework version, restoring the window how selects last query text