A bid to convert Blackpool's former Jobcentre into an apart-hotel has been approved meaning the building will finally come back into use after being empty for seven years.