Why Cursor keeps asking for permission