Fix key shortcuts after performing an action