Added Click Detection