Adding support for the hardware keyboard state show in WP8.