delete mainactivity