modify start activity mode in MainActivity.
Merge https://github.com/olivercm/AndroidDemo