Fix "interface not loading" bug.

Encoding to base64 can generate string with "/" character, and win.updateTheme() is not able to load interface in such case.

Encoding to hex guarantees valid characters.

There are second way to fix this bug - put encodeURIComponent inside win.updateTheme(), but I prefer current fix.