fixed a bug where editing a listing, then marking sold, then cancelling the edit unmarks the listing as sold until refresh