Correction : enrollid must be incremented and check for device full

The enrollid int must be incremented. and also, we need to check if the id between 199 

Sorry if i am mistaken :)