now handle add/remove threshold buttons