minor changes in Main activity