Save and restore shortcuts between executions