After a string of weak results, the retailer said more shoppers are gravitating to its refreshed products and stores.