Basically the question in the title. Panics and errors are caught fine but this bad boy is the new enemy:  Step 1 would be to determine, what happens when this button is pressed.