Fixed bugs in ship upgrades tab