Implemented ActionBar title and option menu handling.