Xabi Alonso praised Bayer Leverkusen's change of attitude as they came from 2-0 down to draw against Qarabag.