Implemented colour change on click.