This would be useful to fix as it is easy to buy equipment like ropes for the mansion chest rather than the travelling bag, so updating the screen with the right number of backpack items is genuinely helpful.
The fix in outside.gd could be somthing like
func shopclose():
get_node("shoppanel").visible = false
if get_node("playergrouppanel/details").is_visible_in_tree():
playergrouppanel()
if currentshop.has('sprite') && currentshop.code != 'aydashop':
get_parent().nodefade($charactersprite, 0.3)