Problems with displaying different sensor values on lcd with ir sensor.

Solved it. Thanks for help everyone