updated mainactivity and newsecondactivity ui