Fix emoji popup. Add emoji popup lib.
Catch exceptions when restoring