He was playing with the cell phone when by accident the top ten list of exotic places appeared.
The top ten list appeared while he was playing with his cell phone.