I removed several unnecessary activities and implemented the action bar