Modified the main activity to contain a listview with an actionlistener