Have not fixed hardware issues yet, added in a reset to  the end of the code that polls the buttons and resets the code if a button is pressed