MainActivity SourceCode Applying Convention & Refactoring