Same conditions to two different buttons