The bakery has confirmed it will retain two stores in the town after being forced from the shopping centre.