Add button detection