Added panic button listener