Given a set $M$, we can construct a topology $\tau$ to this set, which is nothing but a collection of open sets, making it a topological space $(M,\tau)$. There are many ways to do so.
Continuity is defined based on the concept of open sets, i.e., a function $f:(M,\tau) \rightarrow (N,\tau')$ from one topological space to another is said to be continuous if and only if the preimage of each open set of $N$ is open. There is here something which is pretty awkward to me: the notion of continuity is not a property of the function itself, but depends on the topologies you choose for $M$ and $N$.
Since topologies change the continuous character of functions, this makes homeomorphisms from two different sets/manifolds not to be a intrinsic property between the two sets/manifolds, i.e., it depends on the topology you choose.
For instance, pick $\mathbb{R}^{n}$ with euclidian metric $|x| = \sqrt{\sum\limits_{i=1}^{n} x_{i}^{2}}$. We can construct a topology by choosing a basis with the n-balls $B(p;r) = \{x \in \mathbb{R}^{n}; \, |x-p|<r\}$. Let's call this topology $\tau$. Now, let $\tau_{0}$ be the trivial topology for $\mathbb{R}^{n}$, i.e., $\tau_{0} = \{\mathbb{R}^{n}, \varnothing \}$. Let $f:(\mathbb{R}^{n},\tau_{0}) \rightarrow (\mathbb{R}^{n}, \tau)$ be given by $f(x)=x, \forall x \in \mathbb{R}^{n}$. One can see that $f$ is not a homeomorphism since it is not continuous.
Nonetheless, we know that surfaces in $\mathbb{R}^{3}$ can be topologicaly identified in terms of its genus. I.e., We have a list of surfaces (sphere, torus, 2-torus, ..., n-torus,...) that make any other surface homeomorphic to one of them according to its genus. And genus is something intrinsic of the surface. Therefore the topology is intrinsic to the surface. Thus we have here a contradiction with the construction made above.
So, my question is: Is topology a intrinsic property of manifolds or is it an arbitrary construction with respect to nothing but the definition of open set?
And, if it is indeed intrinsic, what is the meaning of saying a topology when there is only one topology for a manifold?
Thank you!!