Implementing search on keyboard action functionality