added functional listview and detailfragment