Added feature of clearing the registry in case something goes wrong.

If the installed extension is removed, then the persona settings in
the registry are cleared to avoid odd look in the UI.

Change-Id: Iaa99f4c87ec6ce4a663e1a3cebb3f8ff45e02079