Liverpool manager Jurgen Klopp says he was looking to the future by extending Andrew Robertson's contract.