The stock's rise snapped a three-day losing streak.