minor changes to Main Activiity