fix purchase state enum for iOS register in app purchases