added devicereadey event subscription