Missing call to setApplicationID(), fixed.