Fix WP8 first register error

FIX Problem when first register in wp8 doesn't work because callbacks not
initialized before call to open.