Setting up click events.