Adding stack click events