[MOD] RegisterActivity mod, add internet connection alert dialog, refactoring