updated mainactivity and its xml