Refactor how triggering searches and handling showing the throbber