better codestyle, fixed ActionBar to show up