Fixed a null pointer when purchased from expired activity.