renamed MainActivity functions so that they make sense
renamed MainActivity functions so that they make sense