movd search bar logic into (renamed) SearchBarManager