Added click listener to activity.

Fixes #1.