formatted mainactivity back to old