finally got the persistant list from database and deleting from database working