A bug in my app while i try to delete file

i tried this code


its for a notes app
list view 1 is for displaying the notes that have been made before
when i try that code with the title lorem iosum it says " The operation remove list item cannot accept the arguments: , ["lorem iosum, "], ["lorem iosum"]
Note: You will not see another error reported for 5 seconds."

Use index is in the list.

You should use index but you are using directly the item.

Remove list item list {get global list_of-notes}
Index get index is in the list {list get global list-of-notes} 
 item {get listview selection}