I need help with States and buttons in my code

Why bother comparing anything against lastButtonState if you are not going to update it?