sensor tag button click detection