Added ability to enable the search field