Pep Guardiola says the stability of Man City and their exciting future were key to him signing a contract extension, keeping him at the club until 2021.