Receiving automated text messages can give a boost to people who recently had joint replacement surgery, a study stays.