Revert "fix some small pb when the library wouldn't refresh the app after the item was bought"

This reverts commit db514be6582439be474a1c3c87524ee5fc203f5b.
Revert "Revert "fix some small pb when the library wouldn't refresh the app after the item was bought""

This reverts commit e26e926d241f2c2997e76851594d5304777d7975.
Revert "Revert "Revert "fix some small pb when the library wouldn't refresh the app after the item was bought"""

This reverts commit 2c079be1afe2deea5e4b1abb166b1f55c9addaf0.
Revert "Revert "fix some small pb when the library wouldn't refresh the app after the item was bought""

This reverts commit e26e926d241f2c2997e76851594d5304777d7975.