Instead of using Timer/TimerTask, we should use this way to handle a timer on Android