Added functionality to inactivate/re-activate a space