made minor changes to the MainActivity