Why swoje instead of twoje?
It should be "swoje" here. ;/
I agree. See the other discussion in this lesson where native speakers argue for swoj- instead of twoj- in sentences like this.
I also made that mistake but am not sure when to use each other.