Bug fix

Fixed local key storage when using an pre-activated license call