Saving ship upgrades now works

If player builds a ship upgrade, it is now saved locally and the build
button disappears. Reopening the menu or the game correctly remebers
this by loading the save file.