Changed to use ActionBar for newer APIs