added touchend to button listener.