added ActionBar with two tabs and show MainActivity and saved codes activity in this tabs