I had to edit a bit of the Restart action so that it does not go wrong because recent files are cleared.