Moving MainActivity to view