Arduino Basic Handling Of Multiple States