Added functionallity for listview and changed ui