Bus: introduce handling of states
Application: the search field is now disabled when it can't be used.