Fixed crash when phone went out of range