Move MastermindActivity layout into class
Fix crash issue on losing a game
Convert indentation tabs to spaces