Added permissions, eventhandler for menuitem, empty listview