If sendAll() fails, currentValue is not reset, causing a message to be sent over serial:
You are sending more than 5 consecutives variables, you just could send 5 variables. Then other variables will be deleted!
Additionally there is an off-by-one error in add(char*,float). currentValue should be in the range [0,MAX_VALUES) but it is instead checked as [0,MAX_VALUES]