Adding click to events