Added Click Detection
final commit