bugfix: set temporary shortcuts properly

Signed-off-by:  <st9fan@gmail.com>