Added autosaving of the settings file every 30 minutes