Fixed note deletion bug. Now listView refreshes automatically after note has been deleted.