adds list adapter and list fragment