Simplify in-app billing code