Validate on button press