added vibrate method
moving generic methods from time tracker to  db