error correction for buttion press timeout, compiler warnings avr sio