Fix random phone reset