changed button click binding