Neil Lennon has offered striker Anthony Stokes a Celtic lifeline after the Irish forward scored twice against Dundee United.