Stop a button from being clicked twice.