Moved button trigger to button released event

Moved button trigger to button released event so that the button image
switches to the button pressed pic and back.