updated button sampling timer