Scope down variables in Main activity