Brendan Rodgers felt his Leicester side showed a strong mentality to secure a 2-1 win against Sheffield United with a last-minute Jamie Vardy winner.