Fix shop's invalid item bug and refresh sell window when opening it