Fixed a bug where trial window would remain visible when user purchased a subscription