bug-14 relayout the activity_main to landing page

The global variables shared among all activities or dialog.