Fix for the app settings. Forgot to clear the previous data before writing the new 'excluded directories' setting when saving the app config.