The bakery chain swings back to profit and says it plans to keep expanding on the High Street.