Listview now reads preferences from database