Refactoring. Moving some logic to the base activity.
Fixed language-related menu error.