fix bug when no items in db, prevent default selection of edittext field