Hansi Flick has confirmed his intention to renew his contract with Barcelona and end his career at the club amid his desire to lead them to Champions League success for the first time since 2015.