Only autosave the hashmap if enabled and not on mobile.