RIM's Pearl bet pays off