Refactor timer, systerm timer replace with EventTimer.