on Search Focus Changed
Records whether the search field holds focus.
Named onSearchFocusChanged rather than setSearchFocused because the latter collides on the JVM with the private setter Kotlin generates for isSearchFocused.