Stop in for a cup of coffee

Regarding "flexible," my friend said it in context of when plans change, to make the best of the new situation.