Log when button is pressed