LCD not responding to if else statement