Update support lib
Use hasActionBar() everywhere