add command and listener in search