Search bar on main view works now