Move funktionality of the MainActivity to the MapViewActivity refs #2741