Click funcionality working