Add button listener for activities