a simple example how to use action bar