Chosen Solution

I accidentally popped off the connector part of the flex cable, does anyone know how I can attach it back on?

Tif properly only by soldering it back on. The solder pads look reasonable so it should be a straight forward solder job.