Added code to create click activities