Blackpool goalkeeper Bailey Peacock-Farrell signs a new deal to remain with the League One club until the end of next season.