stop receiving data button created, not working as intended yet. Gave arrayIndexOutOfBounds.