modify condition in UKflex.ino