minor changes to activityMain.m