Changed OnClick method.