Fix can't set shortcut when search

tower: https://tower.im/projects/8f19f0bf0e754f0b82ef2c24bc230973/todos/1485b05f01d840bb8be054eaa464effb/

Change-Id: Ia1acf9b7a9d9ac4b06268d9a941b4b1859c47ba9