only handle one button click