Fixed problem with LCD not updating