- Fixed error: after successfull login an return, error when switch
login method.
- Added an on resume method to Main Activity. Always switch to advanced
mode of login.