when user presses a button am just adding the data to an state, and now when user represses it i need to remove the data / and do not let the data to be added to the array ?