Automatic single/dual flush (no bowl pre-wetting if the interval of use is shorter than 4 minutes)