Implemented a onClick.