Bug fix tools.php

Added trim to main color option