Harrogate man who attempted sexual communication with child changes plea to guilty