Binding keys and events to search box