Qt UI: add progressbar into search widget (step 3):
* properly initialize variables
* use hardcoded value 20s for progressbar
* tiny code refactoring