How to switch iCloud ON or OFF without loosing words

How to switch from ‘OFF’ to ‘ON’

MyDictionaryCloud_OFF_ON

How to switch from ‘ON’ to ‘OFF’

MyDictionaryCloud_ON_OFF