Fix iPhone timer bug