Fix buttons not resetting on purchase error (bug 871006)