optimise the code

There still a error when invoking the method addHomeWithName:
completionHandler: ,unfixed