Get that glue all over that back flap and the sides and smush it all down into the inside sole of the sneaker. Get good coverage but don't overdo it. I like to use clamps to hold the fabric down while the glue cures. Clothes pins would also work.
Let this sit and cure, preferably overnight.
I'll show you a complete pair I did earlier next.