update customdict on copyText

At the moment the localstorage version is updated but not the already
loaded customdict.

Signed-off-by: Thameera Senanayaka <thameera123@gmail.com>