Fix setting titleField on a listView

Setting a title field on a listView doesn't work because it uses 'opts' instead of 'options'. This patch fixes that.