bug fix

callback wasn't triggered after first shake detection