this commit handles all of the button presses via interrupts, it also fixed the minor bug in the mine placement by changing the check to a dowhile loop to ensure that it all runs the check at least once