Corrected the variables for the from and to of the second cursor adapter
but it still crashes so commented out that part for now.