added cursorActivity callback