Codebase (NewActivity)

Refactored some code in startActivity(). Improved readability and
robustness in the body of the code.
Codebase (All)

Made some major amendments to the code base. Looks really good.