Simplified repetitive reduceButton code