Update Text.php

$agent has been already defined
Merge pull request #541 from Zogame/patch-2

Update Text.php: $agent is defined, use it instead of Request::$user_agent