Given that a topological space $X$ is path connected, I need to show that $X$ is simply connected iff every continuous $f:S^1 \rightarrow X$ has a continuous extension to the unit disc. My professor explained to me the proof of the $\leftarrow$ direction but I didn't quite understand it:
$\Leftarrow$: Suppose that every continuous map from $S^1$ to $X$ has a continuous extension to the unit disc $D$. Let $x_0 \in X$ and let $\sigma$ be a loop at $x_0$. We need to show that $\sigma \simeq x_0$.
Let $\phi:I \rightarrow S^1$ be given by $\phi(s) = e^{2\pi{}is}$, and let $\bar{\sigma}: S^1 \rightarrow X$ be given by $\bar{\sigma}(e^{2\pi{}is}) = \sigma(s)$. We have that $\bar{\sigma} \circ \phi = \sigma$. Also, $\bar{\sigma}$ is a continuous map from $S^1$ to $X$, so there is a continuous function $\bar{F}: D \rightarrow X$ with $\bar{F}|_{S^1} = \bar{\sigma}$. Finally, let $\Phi:I \times I \rightarrow D$ be the map $\Phi(s, t) = te^{2\pi{}is}$. Our homotopy from $x_0$ to $\sigma$ is given by $F = \bar{F} \circ \Phi$.
It is not clear to me why this is a homotopy. Obviously $F(s, 1)$ = $\bar{F}(e^{2\pi{}is}) = \bar{\sigma}(e^{2\pi{}is}) = \sigma(s)$ as desired, but we also need $F(s, 1) = F(0, t) = F(1, t) = x_0$, and it's not clear to me why this should be the case. Any help is appreciated, thank you.