Modify flashing behaviour