Fixes #1: Added click functionality