Starbucks said the moves will help the coffee chain return to profitable growth.