added default image for addedSpaceObject, added logic for switching between spaceObject tables