Implement debounce, lockout and sync for buttons. Implement dispense change routine.