Fix NPE when cancelling the shortcut picker.

Change-Id: Id58410b5d5e99fe8361d21cec6ee3d15f382256c
Signed-off-by: DHOMD <DHO@dho.im>