Add clicking functionality