Solve save purchases problem
Also solve save purchase problem