minor updates to mainactivity