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