Thanks a lot!
Yeah, cursor handling is kinda wrong in the beginning there, missed to add one very important line of code in one place)