One of Mansfield’s heritage assets, its Victorian railway station building, is set to be given a new lease of life.