Checking if success cb set before calling in setKeyValue