Add iPod detection
Fix bug of timer always running