add search from main form

Signed-off-by: Alexandr Kriptononv <alexandr.kriptonov@gmail.com>
refactoring ui.mainform

Signed-off-by: Alexandr Kriptononv <alexandr.kriptonov@gmail.com>