Veteran Blackpool midfielder Barry Ferguson has signed a new one-year contract with the option of a further year.