Fixed a bug with the trail on / off button.