MainActivity elements display
Refactoring